﻿using DevExpress.Xpo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class S_User : BaseXPLiteObjectClass
    {
        public S_User(Session session) : base(session) { }
        public override void AfterConstruction()
        {
            base.AfterConstruction();
        }
        string fUserID;
        [Key, Persistent]
        public string UserID
        {
            get { return fUserID; }
            set { SetPropertyValue<string>("UserID", ref fUserID, value); }
        }
        string fUserName;
        public string UserName
        {
            get { return fUserName; }
            set { SetPropertyValue<string>("UserName", ref fUserName, value); }
        }

        string fUserNo;
        public string UserNo
        {
            get { return fUserNo; }
            set { SetPropertyValue<string>("UserNo", ref fUserNo, value); }
        }
        string fLoginName;
        public string LoginName
        {
            get { return fLoginName; }
            set { SetPropertyValue<string>("LoginName", ref fLoginName, value); }
        }
        string fPassword;
        public string Password
        {
            get { return fPassword; }
            set { SetPropertyValue<string>("Password", ref fPassword, value); }
        }
        int fStatusID;
        public int StatusID
        {
            get { return fStatusID; }
            set { SetPropertyValue<int>("StatusID", ref fStatusID, value); }
        }
        string fDepartment;
        public string Department
        {
            get { return fDepartment; }
            set { SetPropertyValue<string>("Department", ref fDepartment, value); }
        }
        int fAdminFlagID;
        public int AdminFlagID
        {
            get { return fAdminFlagID; }
            set { SetPropertyValue<int>("AdminFlagID", ref fAdminFlagID, value); }
        }
    }
}
